immulticontext: Always check if the global context id changed
authorRui Matos <tiagomatos@gmail.com>
Sun, 29 Apr 2012 00:44:23 +0000 (02:44 +0200)
committerRui Matos <tiagomatos@gmail.com>
Mon, 7 May 2012 22:35:30 +0000 (00:35 +0200)
commita0f155e83938f6c3e63c312107dee2a970c2eb15
treee990e2d4aa2686d077211b39ac0b69c18a2dfe24
parenta4d76439e6d99630319cf5c87633887fb6e9c08f
immulticontext: Always check if the global context id changed

This makes sure that if the gtk-im-module setting changes we update
our internal state immediately on the next event whichever it is.

In particular this fixes the case of the gtk-im-module setting
changing while the user is typing and the slave context remaining the
same, effectively ignoring the setting change.

https://bugzilla.gnome.org/show_bug.cgi?id=675365
gtk/gtkimmulticontext.c